﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sharp.Infrastructure.Interfaces;

namespace Sharp.DataTransferObject
{
    public class NoticeDTO : IDTO
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PublishTime { get; set; }
        /// <summary>
        /// 发件人id
        /// </summary>
        public Guid? SenderId { get; set; }
        /// <summary>
        /// 收件人Id
        /// </summary>
        public Guid? ReceiverId { get; set; }

        /// <summary>
        /// 是否已读
        /// </summary>
        public bool IsReaded { get; set; }
        /// <summary>
        /// 阅读时间
        /// </summary>
        public DateTime? ReadedTime { get; set; }

    }
}
